package com.smedi.ismedi.inmail.api.dto.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * 总院发布的通知公告请求
 *
 * @author jiangqinxuan
 * &#064;date  2021/07/27
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "人员考勤 分页 请求")
public class AttendanceOverviewPageRequest implements Serializable {
    /**
     * 分页行数
     */
    @NotNull
    @ApiModelProperty(value = "分页行数", example = "10")
    private long size;

    /**
     * 当前页数
     */
    @NotNull
    @ApiModelProperty(value = "当前页数", example = "1")
    private long current;

    /**
     * 排序字段
     */
    @ApiModelProperty(value = "排序字段" , example = "totalNum")
    private String orderBy;

    /**
     * 是否升序
     */
    @ApiModelProperty(value = "是否升序", example = "true")
    private boolean asc;
}